Skip to content

Selenium tests for domain audit details#2445

Merged
XingY merged 17 commits intodevelopfrom
fb_domainAudit
May 24, 2025
Merged

Selenium tests for domain audit details#2445
XingY merged 17 commits intodevelopfrom
fb_domainAudit

Conversation

@XingY
Copy link
Contributor

@XingY XingY commented May 13, 2025

Rationale

add selenium tests to check for domain and property audit comment updates

Related Pull Requests

Changes

  • Update designer with required comment
    • SMProAssayUpdateWithCommentsTest.testBulkUpdateResultsWithManyFields
  • Designer rename:
    • SMProAssayCreateTest.testRenameAssay
    • StudyDatasetTest.renameDataset
    • DomainDesignerTest.testInvalidLookupDomainField (list)
  • Folder exclusion: SMProFolderExclusionTest.testUpdatingDesigner
  • Field updates
    • Field rename:
      SMSourceTypeUpdateTest.testUpdateDesignWithTrickyCharacters
      ListTest.doRenameFieldsTest
    • Field type: ListDateAndTimeTest.testConvertDateTimeField
    • Regex validator: DomainDesignerTest.testRegexValidator
    • Text choice: TextChoiceSampleTypeTest.testUpdatingAndDeletingValuesInSampleType
    • Advanced setting: unique (indexes): ListTest.testFieldUniqueConstraint
    • Lookup: LinkedSchemaTest.lookupTest
    • Format: testDateAndTimeFormat
    • Conditional format: ListTest.customFormattingTest
    • Aliquot vs parent: SMSampleTypeDesignerTest.testAliquotOptionsInDesigner
    • Calculated field:
      SMProCalculatedColumnsDesignerTest.testUpdateAssayDesign/testFormattingOptions
      adding/renaming/remove/update calculated fields
      update calculated field formats
  • Field deletion:
    StudyDatasetTest.deleteFields
    Import template: BiologicsDataClassTest.verifyRegistryCustomImportTemplates
  • Creating new designer:
    AuditLogTest.testDomainPropertyEvents (list)
    SMProAssayUpdateWithCommentsTest.createAssayData
    TextChoiceSampleTypeTest.testSetTextChoiceValueForSample
    SMSourceTypeCreateTest.testParentImportAliases
  • Assay Design: SMProAssayUpdateWithCommentsTest.testBulkUpdateResultsWithManyFields
    multiple domains (run vs result) for assay design
  • Sample type
    Import/parent alias
    SMCustomizedIdentifyingFieldsTest.verifyAncestorFieldsDerivingFromSamplesAndSourcesFuzzTest
    SampleTypeParentColumnTest.testUseThenRemoveAnAliasParentColumn/testAliasNameConflictsWithFieldName
    genId update / reset
    SampleTypeNameExpressionTest.testSetAndResetOfGenId
    add barcode field (after providing user comment)
    SMUserSuppliedBarcodeTest.testSampleTypeUpdateWithUniqueId (via clicking button)
    SMSampleCreateTest.testCreateAndUpdateWithUniqueIdField (via adding Barcode field manually)
  • Study dataset: StudyTest.verifyManageDatasetsPage/verifyParticipantVisitDay
    demographics fields
    visit/timepoint fields
  • AuditLogTest.testDomainPropertyEvents (Field format, Conditional format, PHI, description, lookup, required)

{
try
{
return parseInt(getLogColumnValue(rowEntry, columnName));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't need to be wrapped with try/catch since getLogColumnValue will not throw a JSONException.

That said, I don't see getLogColumnValue throwing JSONException either. Did you change the implementation but leave theses try/catch wrappers?

@XingY XingY requested a review from labkey-danield May 22, 2025 16:03
@XingY XingY merged commit a181dab into develop May 24, 2025
5 of 6 checks passed
@XingY XingY deleted the fb_domainAudit branch May 24, 2025 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants